package com.aidex.biz.domain;

import java.math.BigDecimal;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.aidex.common.utils.log.annotation.FieldRemark;
import com.aidex.common.utils.log.annotation.LogField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.aidex.common.annotation.Excel;
import com.aidex.common.core.domain.BaseEntity;
/**
 * 工资规则对象 biz_gongzi_setting
 * @author sean
 * @email 2074844820@qq.com
 * @date 2024-01-30
 */
@Data
public class GongziSetting extends BaseEntity<GongziSetting>
{
    private static final long serialVersionUID = 1L;





    /** 员工ID */
    @Excel(name = "员工ID")
    private String yuangongId;

    /** 员工姓名 */
    @Excel(name = "员工姓名")
    private String yuangongName;

    /** 工资类型 */
    @Excel(name = "工资类型", dictType = "gongzi_type")
    private String type;

    /** 底薪 */
    @Excel(name = "底薪")
    private BigDecimal basicSalary;

    /** 提成 */
    @Excel(name = "提成")
    private BigDecimal draw;

    /** 分润比例（回款减成本） */
    @Excel(name = "分润比例")
    private BigDecimal fenrunBi;

    /** 计件单价 */
    @Excel(name = "计件单价")
    private BigDecimal jijianAmount;

    /** 排序 */
    private Integer sort;

    /** 状态（0正常 1 停用） */
    @Excel(name = "状态")
    private String status;



    public void setYuangongId(String yuangongId) 
    {
        this.yuangongId = yuangongId;
    }

    public String getYuangongId() 
    {
        return yuangongId;
    }

    public void setYuangongName(String yuangongName) 
    {
        this.yuangongName = yuangongName;
    }

    public String getYuangongName() 
    {
        return yuangongName;
    }

    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }

    public void setBasicSalary(BigDecimal basicSalary) 
    {
        this.basicSalary = basicSalary;
    }

    public BigDecimal getBasicSalary() 
    {
        return basicSalary;
    }

    public void setDraw(BigDecimal draw) 
    {
        this.draw = draw;
    }

    public BigDecimal getDraw() 
    {
        return draw;
    }

    public void setFenrunBi(BigDecimal fenrunBi) 
    {
        this.fenrunBi = fenrunBi;
    }

    public BigDecimal getFenrunBi() 
    {
        return fenrunBi;
    }

    public void setJijianAmount(BigDecimal jijianAmount) 
    {
        this.jijianAmount = jijianAmount;
    }

    public BigDecimal getJijianAmount() 
    {
        return jijianAmount;
    }

    public void setSort(Integer sort) 
    {
        this.sort = sort;
    }

    public Integer getSort() 
    {
        return sort;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }


    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("userId", getUserId())
            .append("deptId", getDeptId())
            .append("userName", getUserName())
            .append("deptName", getDeptName())
            .append("companyId", getCompanyId())
            .append("yuangongId", getYuangongId())
            .append("yuangongName", getYuangongName())
            .append("type", getType())
            .append("basicSalary", getBasicSalary())
            .append("draw", getDraw())
            .append("fenrunBi", getFenrunBi())
            .append("jijianAmount", getJijianAmount())
            .append("sort", getSort())
            .append("status", getStatus())
            .append("remark", getRemark())
            .append("id", getId())
            .append("createBy", getCreateBy())
            .append("createDept", getCreateDept())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("updateIp", getUpdateIp())
            .append("version", getVersion())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
